<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="/${initParam.context_root}/js/jquery.min.js"></script>
<script type="text/javascript" src="/${initParam.context_root}/js/bootstrap.js"></script>
<link rel="stylesheet" href="/${initParam.context_root}/css/bootstrap.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title>게시판 &gt; ${board.subject}</title>
<script type="text/javascript">
$(function(){
	if($("iframe")){
		$("iframe").height($(document).height());
	}
	$("#board1").attr("href","/${initParam.context_root}/mainBoard.do").attr("target","BoardFrm");
});
</script>
</head>
<body style="padding-top: 60px;">
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="brand" href="/${initParam.context_root}">Web CURD Alpha</a>
				<ul class="nav">
					<li class="active"><a href="/${initParam.context_root}">Home</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span3" >
				<div class="well sidebar-nav" style="height: 300px;">
					<ul class="nav nav-list">
						<li class="nav-header">게시판목록</li>
						<li class="active"><a id="board1" href="#">게시판</a></li>
					</ul>
				</div>
			</div>
			<div class="span9" style="padding: 10px; height: 100%; overflow: visible;">
<!-- 				이 아래부분에 게시판url이 들어가야함.. 현재는 1번게시물을 바로 보도록 되어있음. -->
				<iframe name="BoardFrm" allowtransparency="true"
					src="/${initParam.context_root}/welcome.do"
					width="100%" height="100%" style="display: inline;" frameborder="0"
					></iframe>
			</div>
		</div>
	</div>
</body>
</html>